package cn.lyf.myblog.mybatis.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Comments {
    Integer cid, bid, uid, pcid;
    String content;
    @JsonFormat(pattern = "yyyy/MM/dd")
    Date date;

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getPcid() {
        return pcid;
    }

    public void setPcid(Integer pcid) {
        this.pcid = pcid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Comments [bid=" + bid + ", cid=" + cid + ", content=" + content + ", date=" + date + ", pcid=" + pcid
                + ", uid=" + uid + "]";
    }

    

}
